HAL CCB APIs listing for migration

This section provides a full listing of the HAL1 APIs for migration. It includes the various constants, structures and functions.

HAL CCB constants

HAL1

series

HAL2

Refer to

CCB_AES_CBC

h5

HAL_CCB_AES_CBC

Refer to

CCB_AES_ECB

h5

HAL_CCB_AES_ECB

Refer to

HAL_CCB_ERROR_INVALID_PARAM

h5

Removed / New Usage changes

Refer to

HAL_CCB_ERROR_NONE

h5

HAL_CCB_ERROR_NONE

Refer to

HAL_CCB_ERROR_OPERATION

h5

Removed / New Usage changes

Refer to

HAL_CCB_ERROR_PKAOPR_TAMP

h5

Removed / New Usage changes

Refer to

HAL_CCB_ERROR_PKARAM_ERASE

h5

Removed / New Usage changes

Refer to

HAL_CCB_ERROR_PKAREG_TAMP

h5

Removed / New Usage changes

Refer to

HAL_CCB_ERROR_RNG_TAMP

h5

Removed / New Usage changes

Refer to

HAL_CCB_ERROR_SAES_TAMP

h5

Removed / New Usage changes

Refer to

HAL_CCB_STATE_BUSY

h5

HAL_CCB_STATE_ACTIVE

Refer to

HAL_CCB_STATE_ERROR

h5

HAL_CCB_STATE_FAULT

Refer to

HAL_CCB_STATE_READY

h5

HAL_CCB_STATE_IDLE

Refer to

HAL_CCB_STATE_RESET

h5

HAL_CCB_STATE_RESET

Refer to

HAL_CCB_USER_KEY_HSW

h5

HAL_CCB_KEY_HSW

Refer to

HAL_CCB_USER_KEY_HW

h5

HAL_CCB_KEY_HW

Refer to

HAL_CCB_USER_KEY_WRAPPED

h5

Removed / New Usage changes

Refer to

HAL CCB structures

HAL1

series

HAL2

Refer to

CCB_ECCMulCurveParamTypeDef

h5

hal_ccb_ecc_mul_curve_param_t

Refer to

CCB_ECCMulKeyBlobTypeDef

h5

hal_ccb_ecc_mul_key_blob_t

Refer to

CCB_ECCMulPointTypeDef

h5

hal_ccb_ecc_point_t

Refer to

CCB_ECDSACurveParamTypeDef

h5

hal_ccb_ecdsa_curve_param_t

Refer to

CCB_ECDSAKeyBlobTypeDef

h5

hal_ccb_ecdsa_key_blob_t

Refer to

CCB_ECDSASignTypeDef

h5

hal_ccb_ecdsa_sign_t

Refer to

CCB_HandleTypeDef

h5

hal_ccb_handle_t

Refer to

CCB_RSAClearKeyTypeDef

h5

hal_ccb_rsa_clear_key_t

Refer to

CCB_RSAKeyBlobTypeDef

h5

hal_ccb_rsa_key_blob_t

Refer to

CCB_RSAParamTypeDef

h5

hal_ccb_rsa_param_t

Refer to

CCB_WrappingKeyTypeDef

h5

Removed / New Usage changes

Refer to

HAL CCB functions

HAL1

series

HAL2

Refer to

HAL_CCB_DeInit

h5

HAL_CCB_DeInit

Refer to

HAL_CCB_ECC_ComputeScalarMul

h5

Removed / New Usage changes

Refer to

HAL_CCB_ECC_GenerateWrapPrivateKey

h5

Removed / New Usage changes

Refer to

HAL_CCB_ECC_WrapPrivateKey

h5

Removed / New Usage changes

Refer to

HAL_CCB_ECC_WrapSymmetricKey

h5

HAL_CCB_ECC_WrapSymmetricKey

Refer to

HAL_CCB_ECDSA_ComputePublicKey

h5

Removed / New Usage changes

Refer to

HAL_CCB_ECDSA_GenerateWrapPrivateKey

h5

Removed / New Usage changes

Refer to

HAL_CCB_ECDSA_Sign

h5

Removed / New Usage changes

Refer to

HAL_CCB_ECDSA_WrapPrivateKey

h5

Removed / New Usage changes

Refer to

HAL_CCB_ECDSA_WrapSymmetricKey

h5

HAL_CCB_ECDSA_WrapSymmetricKey

Refer to

HAL_CCB_GetError

h5

HAL_CCB_GetLastErrorCodes

Refer to

HAL_CCB_GetOperationError

h5

HAL_CCB_GetLastErrorCodes

Refer to

HAL_CCB_GetState

h5

HAL_CCB_GetState

Refer to

HAL_CCB_Init

h5

HAL_CCB_Init

Refer to

HAL_CCB_IntrusionCallback

h5

Not implemented yet in HAL2.

Refer to

HAL_CCB_MspDeInit

h5

Removed / New Usage changes

Refer to

HAL_CCB_MspInit

h5

Removed / New Usage changes

Refer to

HAL_CCB_RSA_ComputeModularExp

h5

Removed / New Usage changes

Refer to

HAL_CCB_RSA_WrapPrivateKey

h5

Removed / New Usage changes

Refer to

HAL_CCB_RSA_WrapSymmetricKey

h5

HAL_CCB_RSA_WrapSymmetricKey

Refer to